package com.ssm.demo.controller.poi;

import com.ssm.demo.service.poi.IPOIService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Controller
public class POIController {

    @Autowired
    private IPOIService poiService;

    @RequestMapping("export")
    public boolean export(HttpServletRequest request, HttpServletResponse response){
        poiService.export(request, response);
        return true;
    }

}
